export function round(number, precision) {
  return Math.round(+number + 'e' + precision) / Math.pow(10, precision);
  //same as:
  //return Number(Math.round(+number + 'e' + precision) + 'e-' + precision);
}
